package com.example.provider3.service;

import com.example.common.TestService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;

/**
 * <b>TODO . </b>
 *
 * @author yangyl11
 * @version 1.0.0
 * @date 2021/5/17
 * @since JDK 1.8
 */
@DubboService
public class TestServiceImpl implements TestService {

	@Value("${server.port}")
	private Integer port;

	@Override
	public String test(String name) {

		return "hello world @ " + port + ": " + name;
	}

}
